import { Injectable } from '@nestjs/common';
import { CreateTaintDto } from './dto/create-taint.dto';
import { UpdateTaintDto } from './dto/update-taint.dto';
import { ResponseUtil } from '../common/utils/response.util';
@Injectable()
export class TaintsService {
  public taintsList = {
    list: [
      {
        key: 'tainttest',
        value: 'true',
        effect: 'NoSchedule',
        nodeName: 'federation02',
      },
    ],
    continueToken: null,
  };
  // 获取污点列表
  postListNodeTaints() {
    return ResponseUtil.success(this.taintsList);
  }
}
